; Events file 27.12.09
; A Divided Nation - American Civil War
; 1861 - 1866 by Civ2units
; UNION CAMPAIGN

@BEGINEVENTS
;@DEBUG
@INITFLAG

@IF
NOSCHISM
DEFENDER=anybody 
@THEN
@ENDIF

;Negotiations Union------------------------------------------------------------------------------------------------

@IF
Negotiation
talkermask=0b000000000000000010000
listenermask=0b000000001001000000101
@THEN
@ENDIF

@IF
Negotiation
talkermask=0b000000001001000000101
listenermask=0b000000000000000010000
@THEN
@ENDIF

;Negotiations Confederacy------------------------------------------------------------------------------------------

@IF
Negotiation
talkermask=0b000000000000000000001
listenermask=0b000100001001000010100
@THEN
@ENDIF

@IF
Negotiation
talkermask=0b000100001001000010100
listenermask=0b000000000000000000001
@THEN
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Introduction Text
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
turn=1
@THEN
JUSTONCE
TEXT
^^UNION CAMPAIGN
^^Welcome to the United States in the year 1861!
^
^We are living in a bad time. The Southern states have declared
^their secession from the Union and founded their own government.
^Its only a question of time until the first shot will fallen.
^
^You are now commanding the Union forces and your objective is to
^conquer all rebellious cities in the South.
ENDTEXT
@ENDIF

@IF
TURN
turn=1
@THEN
JUSTONCE
TEXT
^Currently, we dont have a good and strong army , so its highly 
^recommended that you invests in new techs for better weapons 
^and military drills. They will allow us to recruit a 
^much better army.
ENDTEXT
@ENDIF

@IF
TURN
turn=1
@THEN
JUSTONCE
TEXT
^Please think on Abraham Lincoln. He stays in Washington. If he dies
^in case of a battle you will immediatelly lose the game. Dont 
^try to disband him, it doesnt work. ;-)
ENDTEXT
@ENDIF

@IF
TURN
turn=1
@THEN
JUSTONCE
TEXT
^^Have fun with the scenario...
ENDTEXT
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Abraham Lincoln
;------------------------------------------------------------------------------------------------------------------

@IF
UNITKILLED
unit=Abraham Lincoln
attacker=ANYBODY
defender=Union
@THEN
JUSTONCE
TEXT
^^Abraham Lincoln died in battle!
^
^^THE GAME IS OVER!
ENDTEXT
EndGame
endscreens=yes
@ENDIF

;******************************************************************************************************************
;                                           EASTERN THEATER
;******************************************************************************************************************

;------------------------------------------------------------------------------------------------------------------
;Fort Sumter
;------------------------------------------------------------------------------------------------------------------

@IF
UNITKILLED
unit=Fort Sumter
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
TEXT
^^Fort Sumter attacked!
^
^In the morning hours at April 12, 1861, the Confederate Army under 
^General Pierre Beauregard opened fire with 50 cannons upon 
^Fort Sumter in Charleston, South Carolina.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Fort Sumter
attacker=Confederacy
defender=Union
@THEN
DELAY
delay=1
JUSTONCE
TEXT
^Following the surrender, our Northern state governors rallied behind Lincoln's call 
^for all of the states to send troops to recapture the forts and preserve the Union. 
^With the scale of the rebellion apparently small so far, Lincoln called for 75,000 
^volunteers for 90 days. For months before that, several Northern governors had 
^discreetly readied their state militias; they now begin to move forces the next days.
ENDTEXT
CREATEUNIT
owner=Union
unit=Connecticut Inf.
count=2
veteran=no
homecity=None
locations
163,3
endlocations
@ENDIF

@IF
UNITKILLED
unit=Fort Sumter
attacker=Confederacy
defender=Union
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Union
unit=New Jersey Inf.
count=2
veteran=no
homecity=None
locations
154,16
endlocations
@ENDIF

@IF
UNITKILLED
unit=Fort Sumter
attacker=Confederacy
defender=Union
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Union
unit=New York Inf.
count=2
veteran=no
homecity=None
locations
158,12
endlocations
@ENDIF

@IF
UNITKILLED
unit=Fort Sumter
attacker=Confederacy
defender=Union
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Union
unit=Maryland Inf.
count=2
veteran=no
homecity=None
locations
149,43
endlocations
@ENDIF

;West Point--------------------------------------------------------------------------------------------------------

@IF
TURN
turn=3
@THEN
JUSTONCE
TEXT
^Impressed by the secession of the Southern states many 
^young West Point alumni joins the Confederate Army.
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=CS Colonel
count=5
veteran=yes
homecity=None
Randomize
locations
132,56
118,120
80,106
12,124
23,99
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;First Bull Run
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
turn=4
@THEN
JUSTONCE
TEXT
^Pressured by politicians and major newspapers in the North to take immediate
^action, our Union General McDowell is exhorted to conquer Richmond. His plan
^is to march with 35,000 men and attack the 20,000 Confederates at Manassas.
ENDTEXT
CREATEUNIT
owner=Union
unit=US Militias
count=3
veteran=no
homecity=None
locations
135,39
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Dragoons
count=3
veteran=no
homecity=None
locations
135,39
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Light Artillery
count=2
veteran=no
homecity=None
locations
135,39
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Captain
veteran=no
homecity=None
locations
135,39
endlocations
@ENDIF

;Manassas captured (Union)-----------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Manassas
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=4
veteran=no
homecity=None
locations
132,44
131,45
endlocations
@ENDIF

@IF
CITYTAKEN
city=Manassas
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=2
veteran=no
homecity=None
locations
132,44
131,45
endlocations
@ENDIF

@IF
CITYTAKEN
city=Manassas
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
count=4
veteran=no
homecity=None
locations
130,44
132,46
endlocations
@ENDIF

@IF
CITYTAKEN
city=Manassas
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
veteran=yes
homecity=None
locations
130,44
132,46
endlocations
@ENDIF

@IF
CITYTAKEN
city=Manassas
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=3
veteran=no
homecity=None
locations
130,44
132,46
endlocations
@ENDIF

;Manassas liberated (Confederacy)----------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Manassas
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
TEXT
^Our troops were defeated at the Bull Run near Manassas!
^
^What a shame! Seeing our troops driven back in a running disorder 
^many civilians got in panik and blocked the streets to Washington. 
^It seems, that the war wouldnt be easy to win like we thought.
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=4
veteran=no
homecity=None
locations
131,41
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Army of the Potomac
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
turn=5
@THEN
JUSTONCE
TEXT
^General George B. McClellan takes over the 
^command of the Army of the Potomac.
ENDTEXT
CREATEUNIT
owner=Union
unit=US Infantry
count=4
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

@IF
TURN
turn=5
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Cavalry
count=2
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

@IF
TURN
turn=5
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Field Artillery
count=2
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

@IF
TURN
turn=5
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New York Zouaves
count=2
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

@IF
TURN
turn=5
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Iron Brigade
count=2
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

@IF
TURN
turn=5
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=George B. McClellan
veteran=yes
homecity=None
locations
139,33
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;USS Monitor and CSS Merrimac
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
Turn=11
@THEN
JUSTONCE
TEXT
^Our Navy commissioned the first ironclad warship, the USS Monitor!
ENDTEXT
CREATEUNIT
unit=USS Monitor
owner=Union
veteran=no
homecity=None
locations
139,33
141,43
148,34
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=CSS Merrimac
owner=Confederacy
veteran=yes
homecity=None
locations
148,64
144,76
140,94
131,103
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Peninsula Campaign
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
Turn=12
@THEN
JUSTONCE
TEXT
^^The U.S. Army launched an amphibious attack on the Chesapeake Bay! 
^
^To circumvent the Confederate States Army in Nothern Virginia the Union General
^George B. McClellan lands with his army on the tip of the Virginia Peninsula
^at Fort Monroe near Yorktown. His intending is to capture the 
^rebel capital of Richmond.
ENDTEXT
CREATEUNIT
unit=US Infantry
Count=3
owner=Union
veteran=no
homecity=None
locations
145,61
144,60
endlocations
@ENDIF

@IF
TURN
Turn=12
@THEN
JUSTONCE
CREATEUNIT
unit=US Field Artillery
owner=Union
veteran=no
homecity=None
locations
145,61
144,60
endlocations
@ENDIF

@IF
TURN
Turn=12
@THEN
JUSTONCE
CREATEUNIT
unit=Frigate
owner=Union
veteran=yes
homecity=None
locations
146,58
147,59
145,57
endlocations
@ENDIF

;Yorktown conquered (Union)----------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Yorktown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Infantry
count=4
veteran=no
homecity=None
locations
143,59
endlocations
@ENDIF

@IF
CITYTAKEN
city=Yorktown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Field Artillery
count=2
veteran=no
homecity=None
locations
143,59
endlocations
@ENDIF

@IF
CITYTAKEN
city=Yorktown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Connecticut Inf.
count=4
veteran=no
homecity=None
locations
143,59
endlocations
@ENDIF

@IF
CITYTAKEN
city=Yorktown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New York Inf.
count=4
veteran=no
homecity=None
locations
143,59
endlocations
@ENDIF

@IF
CITYTAKEN
city=Yorktown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Captain
veteran=no
homecity=None
locations
143,59
endlocations
@ENDIF

;Williamsburg conquered (Union)------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
TEXT
^Even though we have lost many soldiers at the battles near Williamsburg
^our troops now marching through the streets of the Southern city.
^The next stop will be Richmond!
ENDTEXT
CREATEUNIT
owner=Union
unit=New Jersey Inf.
count=3
veteran=no
homecity=None
locations
141,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New Jersey Inf.
count=3
veteran=no
homecity=None
locations
141,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=4
veteran=no
homecity=None
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
count=4
veteran=no
homecity=None
randomize
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=4
veteran=no
homecity=None
randomize
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=4
veteran=no
homecity=None
randomize
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=2
veteran=no
homecity=None
randomize
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

@IF
CITYTAKEN
city=Williamsburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=1
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
veteran=no
homecity=None
randomize
locations
140,60
140,58
142,62
138,60
135,55
135,57
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Valley Campaign 
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
Turn=13
@THEN
JUSTONCE
CREATEUNIT
unit=Pennsylvania Inf.
count=4
owner=Union
veteran=no
homecity=None
locations
123,39
124,40
125,41
endlocations
@ENDIF

@IF
TURN
Turn=13
@THEN
JUSTONCE
CREATEUNIT
unit=Maryland Inf.
count=4
owner=Union
veteran=no
homecity=None
locations
124,40
125,41
123,39
endlocations
@ENDIF

@IF
TURN
Turn=13
@THEN
JUSTONCE
CREATEUNIT
unit=US Field Artillery
count=2
owner=Union
veteran=no
homecity=None
locations
124,40
125,41
123,39
endlocations
@ENDIF

;Winchester conquered (Union)--------------------------------------------------------------------------------------

@IF
Turn
turn=1
@THEN
Flag
continuous
who=Confederacy
state=On
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Confederacy
defender=Union
@THEN
Flag
Continuous
who=Confederacy
state=On
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
TEXT
^Weve conquered Winchester!
^
^The Confederate General Stonewall Jackson tries to engage our
^troops in the Shenandoah Valley, preventing them for reinforcing
^the Union offensive against Richmond.
ENDTEXT
CREATEUNIT
owner=Union
unit=US Infantry
count=3
veteran=no
homecity=None
locations
123,41
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Captain
veteran=no
homecity=None
locations
123,41
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=6
veteran=no
homecity=None
locations
121,43
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=6
veteran=no
homecity=None
locations
122,46
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
count=6
veteran=no
homecity=None
locations
120,50
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=6
veteran=no
homecity=None
locations
120,46
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=3
veteran=no
homecity=None
locations
120,46
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
veteran=yes
homecity=None
locations
120,46
endlocations
Flag
Continuous
who=Confederacy
state=Off
flag=0
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Maryland Campaign
;------------------------------------------------------------------------------------------------------------------

@IF
Checkflag
Who=Confederacy
mask=0b00000000000000000000000000000001
count=1
State=On
@AND
TURN
turn=18
@THEN
JUSTONCE
TEXT
^^The Confederate Army starts an Invasion against Maryland
^
^With over 50,000 men the Confederate General Lee starts an invasion
^of Maryland. His objective is to damage Nothern morale.
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=8
veteran=yes
homecity=None
locations
125,35
127,37
126,38
125,37
124,36
123,35
endlocations
@ENDIF

@IF
Checkflag
Who=Confederacy
mask=0b00000000000000000000000000000001
count=1
State=On
@AND
TURN
turn=18
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=6
veteran=yes
homecity=None
locations
125,35
127,37
126,38
125,37
124,36
123,35
endlocations
@ENDIF

@IF
Checkflag
Who=Confederacy
mask=0b00000000000000000000000000000001
count=1
State=On
@AND
TURN
turn=18
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=4
veteran=yes
homecity=None
locations
125,35
127,37
126,38
125,37
124,36
123,35
endlocations
@ENDIF

;Harpers Ferry conquered (Confederacy)-----------------------------------------------------------------------------

@IF
CITYTAKEN
city=Harpers Ferry
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
TEXT
^Three days after Stonewall Jackson surrounded and bombarded 
^Harpers Ferry, our garrison with over 12,500 men surrendered. 
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=CS Siege Mortar
count=2
veteran=yes
homecity=None
locations
127,35
endlocations
@ENDIF

@IF
CITYTAKEN
city=Harpers Ferry
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=5
veteran=yes
homecity=None
locations
127,35
endlocations
@ENDIF

@IF
CITYTAKEN
city=Harpers Ferry
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
count=5
veteran=yes
homecity=None
locations
127,35
endlocations
@ENDIF

;Sharpsburg conquered (Confederacy)--------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=6
veteran=no
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
count=6
veteran=no
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=4
veteran=no
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
count=2
veteran=yes
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
veteran=no
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Infantry
count=4
veteran=no
homecity=None
locations
132,24
129,23
132,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Pennsylvania Inf.
count=3
veteran=no
homecity=None
locations
132,24
129,23
132,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Connecticut Inf.
count=3
veteran=no
homecity=None
locations
127,25
128,24
131,29
endlocations
@ENDIF

;Hagerstown conquered (Confederacy)--------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
TEXT
^After the capture of Hagerstown by Confederate troops, our General 
^George G. Meade preparing to defeat the Rebel Army at Gettysburg.
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
count=4
veteran=yes
homecity=None
locations
131,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=South Carolina Inf.
count=4
veteran=yes
homecity=None
locations
131,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=4
veteran=yes
homecity=None
locations
131,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=2
veteran=yes
homecity=None
locations
131,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Field Artillery
count=3
veteran=yes
homecity=None
locations
139,21
140,22
138,20
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Infantry
count=4
veteran=yes
homecity=None
locations
139,21
140,22
138,20
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Cavalry
count=4
veteran=yes
homecity=None
locations
139,21
140,22
138,20
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New York Inf.
count=4
veteran=yes
homecity=None
locations
138,20
140,22
139,21
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=George G. Meade
veteran=yes
homecity=None
locations
138,20
140,22
139,21
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New Jersey Inf.
count=4
veteran=yes
homecity=None
locations
138,20
140,22
139,21
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=New York Zouaves
count=2
veteran=yes
homecity=None
locations
138,20
140,22
139,21
endlocations
@ENDIF

;Gettysburg conquered (Confederacy)--------------------------------------------------------------------------------

@IF
Turn
turn=1
@THEN
Flag
continuous
who=Union
state=On
flag=1
@ENDIF

@IF
CITYTAKEN
city=Gettysburg
attacker=Union
defender=Confederacy
@THEN
Flag
Continuous
who=Union
state=On
flag=1
@ENDIF

@IF
CITYTAKEN
city=Gettysburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
TEXT
^After three days of heavy struggle the Rebels marched through Gettysburg. The morale 
^of our withdrawing troops is fallen while Lincoln gives hope for an Union victory.
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=2
veteran=yes
homecity=None
locations
138,22
endlocations
Flag
Continuous
who=Union
state=Off
flag=1
@ENDIF

@IF
CITYTAKEN
city=Gettysburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=2
veteran=yes
homecity=None
locations
138,22
endlocations
Flag
Continuous
who=Union
state=Off
flag=1
@ENDIF

@IF
CITYTAKEN
city=Gettysburg
attacker=Confederacy
defender=Union
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
veteran=yes
homecity=None
locations
138,22
endlocations
Flag
Continuous
who=Union
state=Off
flag=1
@ENDIF

;Hagerstown liberated (Union)--------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Hagerstown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Iron Brigade
count=4
veteran=yes
homecity=None
locations
131,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Hagerstown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Pennsylvania Inf.
count=2
veteran=no
homecity=None
locations
131,23
endlocations
@ENDIF

;Sharpsburg liberated (Union)--------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Sharpsburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Iron Brigade
count=3
veteran=yes
homecity=None
locations
128,28
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sharpsburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Sharpshooters
count=2
veteran=yes
homecity=None
locations
128,28
endlocations
@ENDIF

;Harpers Ferry liberated (Union)-----------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Sharpsburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Pennsylvania Inf.
count=2
veteran=no
homecity=None
locations
127,35
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Irish Brigade
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
Turn=15
@THEN
JUSTONCE
TEXT
^^Irish Immigrants tries to volunteer the Union troops ! 
^
^The US Secretary of War authorizes the formation of an Irish Brigade to
^support the Union Army. 
ENDTEXT
CREATEUNIT
unit=Irish Brigade
Count=5
owner=Union
veteran=yes
homecity=None
locations
158,12
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Garibaldi Guard
;------------------------------------------------------------------------------------------------------------------

@IF
TURN
Turn=20
@THEN
JUSTONCE
TEXT
^^Italian-Americans organized the "Garibaldi Guard"! 
^
^The Garibaldi Guard is the nickname of the 39th New York Infantry, 
^a regiment of Italian-Americans recruited mostly from New York.
^Most of the members of this regiment are men, who had fought under
^Guiseppe Garibaldi in Italy. Other Italian nationals joins the 
^guard as well, however, out of a feeling that the Union cause 
^matches their own ideals of freedom and equal justice.
ENDTEXT
CREATEUNIT
unit=Garibaldi Guard
Count=5
owner=Union
veteran=yes
homecity=None
locations
158,12
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Emancipation Proclamation
;------------------------------------------------------------------------------------------------------------------

@IF
Checkflag
Who=Union
mask=0b10000000000000000000000000000010
count=1
State=On
@AND
TURN
turn=22
@THEN
JUSTONCE
GiveTechnology
receiver=Union
technology=80
TEXT
^^Abraham Lincoln issued the Emancipation Proclamation!
^
^The US President Abraham Lincoln issued the Emancipation Proclamation, which
^declares the freedom of all slaves in any state of the Confederate States
^of America.
ENDTEXT

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=Union
@THEN
JUSTONCE
delay
delay=2
TEXT
^A first Black Regiment is recruited!
ENDTEXT
CREATEUNIT
owner=Union
unit=Black Regiment
count=8
veteran=yes
homecity=None
locations
163,3
endlocations
@ENDIF

;******************************************************************************************************************
;                                           WESTERN THEATER
;******************************************************************************************************************

@IF
TURN
Turn=11
@THEN
JUSTONCE
TEXT
^Our General Ulysses S. Grant tries to conquer Tennessee!
ENDTEXT
CREATEUNIT
unit=US Infantry
Count=5
owner=Union
veteran=no
homecity=None
locations
25,77
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=US Cavalry
Count=5
owner=Union
veteran=no
homecity=None
locations
25,77
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=US Field Artillery
Count=2
owner=Union
veteran=no
homecity=None
locations
25,77
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=US Heavy Artillery
owner=Union
veteran=no
homecity=None
locations
25,77
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=Indiana Inf.
count=5
owner=Union
veteran=no
homecity=None
locations
24,76
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=Missouri Inf.
count=5
owner=Union
veteran=no
homecity=None
locations
24,76
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=Ulysses S. Grant
owner=Union
veteran=yes
homecity=None
locations
24,76
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=Illinois Inf.
count=5
owner=Union
veteran=no
homecity=None
locations
24,76
endlocations
@ENDIF

@IF
TURN
Turn=11
@THEN
JUSTONCE
CREATEUNIT
unit=Fort
owner=Confederacy
veteran=no
homecity=None
locations
27,83
endlocations
@ENDIF

;Dyersburg conquered (Union)---------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
TEXT
^Our troops have conquered Fort Donelson near Dyersburg!
ENDTEXT
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=4
veteran=yes
homecity=None
locations
28,92
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Tennessee Inf.
count=4
veteran=yes
homecity=None
locations
28,92
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Mississippi Inf.
count=4
veteran=yes
homecity=None
locations
25,91
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Iron Brigade
count=2
veteran=yes
homecity=None
locations
28,86
endlocations
@ENDIF

;Gunboats and Ironclads on the Mississippi-------------------------------------------------------------------------

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Gunboat
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=2
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Gunboat
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=4
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=6
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=8
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Gunboat
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=10
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=2
veteran=yes
homecity=None
locations
12,124
endlocations
@ENDIF

;Union Ironclads---------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=2
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Gunboat
count=4
veteran=yes
homecity=None
locations
20,70
endlocations
@ENDIF

@IF
CITYTAKEN
city=Dyersburg
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=4
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=4
veteran=yes
homecity=None
locations
20,70
endlocations
@ENDIF

;Memphis conquered (Union)-----------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Ironclad
count=2
veteran=no
homecity=None
locations
23,99
endlocations
@ENDIF

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Steamboat
count=2
veteran=no
homecity=None
locations
23,99
endlocations
@ENDIF

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Sharpshooters
count=2
veteran=yes
homecity=None
locations
23,99
endlocations
@ENDIF

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=3
veteran=no
homecity=None
locations
17,103
14,118
endlocations
@ENDIF

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Garrison
veteran=no
homecity=None
locations
26,102
endlocations
@ENDIF

;Henderson conquered (Union)---------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Iron Brigade
count=2
veteran=yes
homecity=None
locations
32,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Memphis
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Garrison
veteran=no
homecity=None
locations
36,98
endlocations
@ENDIF

;Shiloh conquered (Union)------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=4
veteran=no
homecity=None
locations
37,105
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Tennessee Inf.
count=4
veteran=no
homecity=None
locations
33,105
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=2
veteran=no
homecity=None
locations
33,105
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Mississippi Inf.
count=4
veteran=no
homecity=None
locations
32,100
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Colonel
veteran=yes
homecity=None
locations
32,100
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Michigan Inf.
count=4
veteran=no
homecity=None
locations
36,102
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=Ohio Inf.
count=4
veteran=no
homecity=None
locations
32,100
endlocations
@ENDIF

@IF
CITYTAKEN
city=Shiloh
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Sharpshooters
count=2
veteran=yes
homecity=None
locations
32,100
endlocations
@ENDIF

;Corinth conquered (Union)-----------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Siege Howitzer
veteran=no
homecity=None
locations
31,105
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Cavalry
count=4
veteran=no
homecity=None
locations
31,105
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Mississippi Inf.
count=4
veteran=no
homecity=None
locations
27,109
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Infantry
count=4
veteran=no
homecity=None
locations
27,109
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=4
veteran=no
homecity=None
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=Corinth
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Garrison
veteran=no
homecity=None
locations
28,110
endlocations
@ENDIF

;Greenwood conquered (Union)---------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Greenwood
attacker=Union
defender=Confederacy
@AND
Checkflag
Who=Union
mask=0b10000000000000000000000000000010
count=1
State=On
@THEN
JUSTONCE
TEXT
^Freed slaves joined the Union Army!
ENDTEXT
CREATEUNIT
owner=Union
unit=Black Regiment
count=6
veteran=no
homecity=None
locations
26,116
endlocations
@ENDIF

;Jackson conquered (Union)-----------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@AND
Checkflag
Who=Union
mask=0b10000000000000000000000000000010
count=1
State=On
@THEN
JUSTONCE
TEXT
^Freed slaves joined the Union Army!
ENDTEXT
CREATEUNIT
owner=Union
unit=Black Regiment
count=6
veteran=no
homecity=None
locations
20,126
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Union
unit=US Infantry
count=2
veteran=no
homecity=None
locations
20,126
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Garrison
veteran=no
homecity=None
locations
14,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Garrison
veteran=no
homecity=None
locations
10,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Mississippi Inf.
count=6
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Arkansas Inf.
count=6
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=6
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Field Artillery
count=2
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Siege Mortar
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

@IF
CITYTAKEN
city=Jackson
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Ironclad
count=2
veteran=no
homecity=None
locations
12,124
endlocations
@ENDIF

;Bandit Raids------------------------------------------------------------------------------------------------------

;Russelville conquered (Union)-------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Russelville
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
7,83
endlocations
@ENDIF

@IF
CITYTAKEN
city=Russelville
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
8,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Russelville
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=4
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
14,88
endlocations
@ENDIF

;Batesville conquered (Union)--------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Batesville
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
19,89
endlocations
@ENDIF

@IF
CITYTAKEN
city=Batesville
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
23,85
endlocations
@ENDIF

@IF
CITYTAKEN
city=Batesville
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=4
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
12,54
endlocations
@ENDIF

@IF
CITYTAKEN
city=Batesville
attacker=Union
defender=Confederacy
@THEN
DELAY
delay=4
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
20,56
endlocations
@ENDIF

;Little Rock conquered (Union)-------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Little Rock
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
5,87
endlocations
@ENDIF

@IF
CITYTAKEN
city=Little Rock
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Bandits
unit=Bushwhackers
count=4
veteran=no
homecity=None
locations
16,78
endlocations
@ENDIF

;Pine Bluff conquered (Union)--------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Pine Bluff
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Arkansas Inf.
count=4
veteran=no
homecity=None
locations
11,103
endlocations
@ENDIF

@IF
CITYTAKEN
city=Pine Bluff
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=CS Cavalry
count=3
veteran=no
homecity=None
locations
11,103
endlocations
@ENDIF

@IF
CITYTAKEN
city=Pine Bluff
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Louisiana Inf.
count=4
veteran=no
homecity=None
locations
11,103
endlocations
@ENDIF

@IF
CITYTAKEN
city=Pine Bluff
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
owner=Confederacy
unit=Tiger Zouaves
count=4
veteran=no
homecity=None
locations
11,103
endlocations
@ENDIF




















































































































































;------------------------------------------------------------------------------------------------------------------
;Anaconda Plan
;------------------------------------------------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
JUSTONCE
TEXT
^^The Union tries to blockade all Southern seaports! 
^
^The General-in-Chief, Winfield Scott, announce a strategy for the war against the South. 
^All ports in the seceding states have to be rigorously blockaded, a strong column of 
^perhaps 80,000 men should use the Mississippi River as a highway to thrust completely 
^through the Confederacy. When New Orleans falls the river would be in Federal hands 
^from its source to its mouth and the rebellion would be cut in two.
ENDTEXT
CREATEUNIT
unit=Frigate
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
122,132
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
JUSTONCE
CREATEUNIT
unit=Frigate
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
133,113
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
JUSTONCE
CREATEUNIT
unit=Frigate
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
145,103
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
JUSTONCE
CREATEUNIT
unit=Frigate
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
158,64
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
JUSTONCE
CREATEUNIT
unit=Warship
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
150,118
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=Union
@THEN
DELAY
delay=1
JUSTONCE
TEXT
^If we could conquer Charleston we can stop the Confederate trade 
^routes to Europe. The occupation of every Southern seaport gives
^us an extra amount of money.
ENDTEXT
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Southern Seaports (blockaded by Union forces)
;------------------------------------------------------------------------------------------------------------------

;Norfolk-----------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Norfolk
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=1500
@ENDIF

@IF
CITYTAKEN
city=Norfolk
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
unit=North Carolina Inf.
Count=4
owner=Confederacy
veteran=no
homecity=None
randomize
locations
149,67
147,67
146,66
145,65
endlocations
@ENDIF

;Swansboro---------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Swansboro
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=500
@ENDIF

@IF
CITYTAKEN
city=Swansboro
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
unit=North Carolina Inf.
Count=4
owner=Confederacy
veteran=no
homecity=None
randomize
locations
141,91
139,91
137,39
136,94
endlocations
@ENDIF

;Wilmington--------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Wilmington
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=1500
@ENDIF

@IF
CITYTAKEN
city=Wilmington
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
unit=North Carolina Inf.
Count=4
owner=Confederacy
veteran=no
homecity=None
randomize
locations
128,104
130,100
132,100
134,102
endlocations
@ENDIF

;Georgetown--------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Georgetown
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=1000
@ENDIF

@IF
CITYTAKEN
city=Georgetown
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
CREATEUNIT
unit=South Carolina Inf.
Count=4
owner=Confederacy
veteran=no
homecity=None
randomize
locations
125,107
123,109
124,112
125,113
endlocations
@ENDIF

;Charleston--------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Charleston
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=5000
@ENDIF

@IF
CITYTAKEN
city=Charleston
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
TEXT
^^Our troops marching through Charleston!
^
^With the occupation of this important seaport we are
^now controlling the Confederate trade routes to 
^Great Britain. 
ENDTEXT
CREATEUNIT
unit=South Carolina Inf.
Count=6
owner=Confederacy
veteran=no
homecity=None
randomize
locations
119,117
117,117
116,122
120,120
endlocations
@ENDIF

@IF
CITYTAKEN
city=Charleston
attacker=Union
defender=Confederacy
@THEN
JUSTONCE
DELAY
delay=2
TEXT

ENDTEXT
CREATEUNIT
CREATEUNIT
unit=South Carolina Inf.
Count=6
owner=Confederacy
veteran=no
homecity=None
randomize
locations
119,117
117,117
116,122
120,120
endlocations
@ENDIF


;Savannah----------------------------------------------------------------------------------------------------------

@IF
CITYTAKEN
city=Savannah
attacker=Union
defender=Confederacy
@THEN
CHANGEMONEY
receiver=Union
amount=2500
@ENDIF

ENDTEXT
CREATEUNIT
CREATEUNIT
unit=Georgia Inf.
Count=4
owner=Confederacy
veteran=no
homecity=None
randomize
locations
111,123
109,123
109,129
112,130
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US Siege Howitzer
;------------------------------------------------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=83
receiver=Union
@THEN
JUSTONCE
TEXT
^Our industry has produced some Siege Howitzers.
ENDTEXT
CREATEUNIT
unit=US Siege Howitzer
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
34,20
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=83
receiver=Union
@THEN
JUSTONCE
CREATEUNIT
unit=US Siege Howitzer
Count=2
owner=Union
veteran=no
homecity=None
Randomize
locations
158,12
endlocations
@ENDIF

@IF
UNITKILLED
unit=US Siege Howitzer
attacker=ANYBODY
defender=Union
@THEN
DELAY
delay=5
CREATEUNIT
owner=Union
unit=US Siege Howitzer
veteran=no
homecity=none
randomize
locations
142,16
158,12
131,23
99,33
34,20
endlocations
@ENDIF

@IF
UNITKILLED
unit=CS Siege Mortar
attacker=Union
defender=Confederacy
@THEN
TEXT
^Our troops captured a Siege Mortar!
ENDTEXT
CREATEUNIT
owner=Union
unit=US Siege Howitzer
veteran=no
homecity=none
randomize
locations
142,16
158,12
131,23
99,33
34,20
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US Horse Artillery
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=US Horse Artillery
owner=Union
veteran=yes
homecity=None
randomize
locations
142,16
158,12
131,23
99,33
34,20
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US Captain
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
^A new Captain has risen in the Union Army!
ENDTEXT
CREATEUNIT
unit=US Captain
owner=Union
veteran=yes
homecity=None
randomize
locations
135,39
147,25
158,12
77,37
52,46
34,20
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;New York Zouaves
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
^A new New York Zouaves regiment is recruited!
ENDTEXT
CREATEUNIT
unit=New York Zouaves
owner=Union
count=4
veteran=yes
homecity=None
randomize
locations
158,12
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US Sharpshooters
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
^A new Sharpshooters regiment is recruited!
ENDTEXT
CREATEUNIT
unit=US Sharpshooters
owner=Union
count=2
veteran=yes
homecity=None
randomize
locations
158,12
135,39
147,25
19,37
15,61
38,68
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US Balloon Corps
;------------------------------------------------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=66
receiver=Union
@THEN
JUSTONCE
TEXT
^Our Army established a Balloon Corp, which should 
^give us an overview around the battlefields.
ENDTEXT
CREATEUNIT
unit=US Balloon Corps
Count=4
owner=Union
veteran=no
homecity=None
Randomize
locations
137,45
131,35
13,61
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;US State troops
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Connecticut Inf.
veteran=no
homecity=none
Randomize
locations
163,3
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=New York Inf.
veteran=no
homecity=none
Randomize
locations
155,5
158,12
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=New Jersey Inf.
veteran=no
homecity=none
Randomize
locations
154,16
151,21
157,29
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Pennsylvania Inf.
veteran=no
homecity=none
Randomize
locations
143,3
147,11
142,16
147,25
138,22
101,7
110,24
117,33
99,33
94,40
102,44
99,55
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Maryland Inf.
veteran=no
homecity=none
Randomize
locations
149,43
148,34
139,33
127,35
128,28
131,23
141,43
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Ohio Inf.
veteran=no
homecity=none
Randomize
locations
87,17
87,29
88,48
78,54
77,37
72,18
66,50
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Indiana Inf.
veteran=no
homecity=none
Randomize
locations
49,61
44,50
52,46
47,31
57,27
37,23
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Michigan Inf.
veteran=no
homecity=none
locations
73,11
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Illinois Inf.
veteran=no
homecity=none
Randomize
locations
34,20
33,35
19,37
18,50
26,50
37,49
26,66
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Union
unit=Missouri Inf.
veteran=no
homecity=none
Randomize
locations
20,70
13,73
5,61
15,61
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;CS Colonel
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=15
@THEN
TEXT
^A new Colonel has risen in the Rebel Army!
ENDTEXT
CREATEUNIT
unit=CS Colonel
owner=Confederacy
veteran=yes
homecity=None
randomize
locations
23,99
12,124
52,90
80,106
118,120
122,58
132,56
130,80
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;CS Siege Mortar
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=CS Siege Mortar
owner=Confederacy
veteran=yes
homecity=None
randomize
locations
132,56
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;CS Field Artillery
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=CS Field Artillery
owner=Confederacy
veteran=yes
homecity=None
randomize
locations
132,56
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;Privateers
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Privateers
owner=Confederacy
veteran=yes
homecity=None
randomize
locations
111,127
118,120
131,103
148,64
endlocations
@ENDIF

;------------------------------------------------------------------------------------------------------------------
;CS State troops
;------------------------------------------------------------------------------------------------------------------

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Virginia Inf.
veteran=no
homecity=none
Randomize
locations
123,41
131,41
133,49
126,52
120,50
132,56
141,53
143,59
133,63
148,64
122,58
112,58
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=North Carolina Inf.
veteran=no
homecity=none
Randomize
locations
109,69
115,69
123,73
144,76
130,80
113,85
126,92
131,103
140,94
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=South Carolina Inf.
veteran=no
homecity=none
Randomize
locations
126,110
111,107
104,90
99,97
118,120
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Georgia Inf.
veteran=no
homecity=none
Randomize
locations
80,106
74,100
72,122
83,133
91,119
98,132
111,127
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Alabama Inf.
veteran=no
homecity=none
Randomize
locations
63,133
57,119
61,103
52,108
47,125
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Mississippi Inf.
veteran=no
homecity=none
Randomize
locations
35,127
20,126
12,124
26,116
31,105
42,106
12,124
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Tennessee Inf.
veteran=no
homecity=none
Randomize
locations
23,99
36,102
32,94
28,86
47,99
38,86
46,86
52,90
55,97
61,91
71,91
80,80
90,76
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Arkansas Inf.
veteran=no
homecity=none
Randomize
locations
20,82
11,83
4,92
8,98
17,103
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Confederacy
unit=Louisiana Inf.
veteran=no
homecity=none
Randomize
locations
4,120
endlocations
@ENDIF

@ENDEVENTS